package com.ice_hufs.medical_in_myhand;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.Window;
import android.view.WindowManager;
import android.widget.Button;

public class Choose_join extends Activity{

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        requestWindowFeature(Window.FEATURE_NO_TITLE);
        getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN
                , WindowManager.LayoutParams.FLAG_FULLSCREEN);

        setContentView(R.layout.activity_choose_join);


        Button user_join_Btn = (Button)findViewById(R.id.user_join_Btn);
        user_join_Btn.setOnClickListener(new View.OnClickListener(){
            public void onClick(View v){
               Intent my_intent = new Intent(getApplicationContext(), User_join.class);
                startActivity(my_intent);
            }

        });

        Button operator_join_Btn = (Button)findViewById(R.id.operator_join_Btn);
        operator_join_Btn.setOnClickListener(new View.OnClickListener(){
            public void onClick(View v){
                Intent my_intent = new Intent(getApplicationContext(), Operator_join.class);
                startActivity(my_intent);
            }

        });

    }
}
